propNoun: 'You'
--
**You** are about to do a lot of things here.
Insert your **name** | {text input for: 'propNoun'}
[[Next->Step 2]]
adverb: 'quickly'
--
Type an **adverb** | {text input for: 'adverb'}
[[Next ->Step 3]]
verb: 'prays'
--
Choose a **verb:** {dropdown menu for: 'verb', choices: ['construct', 'illuminate', 'embrace', 'sculpt', 'challenge', 'naviagte', 'inspire', 'dechipher', 'orchestrate', 'revive']}
[[Next ->Step 4]]
faction: 'The Fireflies'
--
Select a **faction:** {dropdown menu for: 'faction', choices: ['The Cauastics', 'The Drillers', 'The Wolves', 'The Vuclans',]}
[[Next -> Step 5]]enders: ["among the ruins", "in the last safe zone", "before the world burns", "as the wasteland watches", "where the strong survive", "under a blood-red sky"]
ender: enders[Math.floor(random.fraction*enders.length)]
--
{propNoun} {adverb} {verb} {faction} {ender}.
[[Play this one again? ->Step 1]]
[[Onto Exercise 3.2 ->Step1a]]
subjs: ["The last survivor", "A bloodthirsty Bitten", "The scavanger", "A forgotten god"]
theSubj: subjs[Math.floor(random.fraction*subjs.length)]
verbs: ["steals", "adores", "accuses", "kills", "eradicates"]
theVerb: verbs[Math.floor(random.fraction*verbs.length)]
objs: ["a dwindling food supply", "the ruins of the small town", "the last hope", "an antidote"]
theObj: objs[Math.floor(random.fraction*objs.length)]
--
{theSubj} {theVerb} {theObj}
[[Again!->Step1a]]
[[Onto Exercise 3.4 ->Step1ab]]
[JavaScript]
sourceArray = new Array('Flashlight','Cocktail','Painkillers','Canned Food','Energy Drink','Bullets','First-Aid-Kit')
trackArray = new Array()
trackArray.push(99)
rnum = 99
function randy(){
while(trackArray.includes(rnum)){
rnum = Math.floor(Math.random()*sourceArray.
length)
}
trackArray.push(rnum)
return sourceArray[rnum]
}
for(var i=0; i<sourceArray.length; i++){
write(randy()+'<br>')
}
[continued]
[[Again ->Step1ab]]
[[Back to Exercise 3.1 ->Step 1]]
[[Back to Exercise 3.2 ->Step1a]]